package cn.yj.cgs.dba.mapper;

import cn.yj.annotation.pagehelper.annotation.StartPage;
import cn.yj.annotation.pagehelper.page.Page;
import cn.yj.cgs.dba.entity.IntegralGoods;
import cn.yj.cgs.dba.entity.UserIntegralGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 永健
 * @since 2021-04-19 16:12:11
 */
public interface UserIntegralGoodsMapper extends BaseMapper<UserIntegralGoods> {

    @StartPage
    List<IntegralGoods> findList(@Param("map") Map<String, Object> map, @Param("page") Page<UserIntegralGoods> page);

    UserIntegralGoods selectByNoForUpdate(String goodsNo);
}
